package com.ltxtiyu.video.dao.ltx;

import com.ltxtiyu.video.entity.TokenStore;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface TokenStoreDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(TokenStore record);

    TokenStore selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TokenStore record);

    TokenStore selectByOauthToken(Map<String, Object> params);

    TokenStore selectByRefreshToken(Map<String, Object> map);

    void deleteByUserId(Map<String, Object> map);
}